﻿using Microsoft.EntityFrameworkCore;
using ProductManagement.Domain;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;

namespace ProductManagement.EntityFrameworkCore
{
    [ConnectionStringName("ProductManagement")]
    public interface IProductManagementDbContext : IEfCoreDbContext
    {
        DbSet<ProductDemo> ProductDemos { get; }


        public DbSet<ProAttribute> ProAttribute { get; }

        public DbSet<Category> Category { get; }
        public DbSet<ProSpec> ProSpec { get; }
        public DbSet<ProSpecValue> ProSpecValue { get; }
        public DbSet<ProChild> ProChild { get; }
        public DbSet<ProChildSpec> ProChildSpec { get; }
    }
}